﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SMBL.Global
{
    // WebSite Information Class
    public class WebSiteInfo
    {
        // Parameters.

        /// <summary>
        /// Web Site name
        /// </summary>
        private string _websiteName = "";
        /// <summary>
        /// Web Site Owner
        /// </summary>
        private string _websiteOwner = "";
        /// <summary>
        /// Web Site URL
        /// </summary>
        private string _websiteUrl = "";

        public string WebSiteName
        {
            get { return _websiteName; }
            set { _websiteName = value; }
        }

        public string WebSiteOwner
        {
            get { return _websiteOwner; }
            set { _websiteOwner = value; }
        }

        public string WebSiteUrl
        {
            get { return _websiteUrl; }
            set { _websiteUrl = value; }
        }

        // Construction
        private WebSiteInfo(){}
        private static WebSiteInfo wbInfo = null;

        /// <summary>
        /// Singleton. Return the unique instance.
        /// </summary>
        /// <returns></returns>
        public static WebSiteInfo Ins()
        {
            if (wbInfo == null) wbInfo = new WebSiteInfo();
            return wbInfo;
        }
    }
}
